package com.bt7274.enums;

/**
 * 用户权限组对应的考核豁免
 */
public enum AssessmentExemptionLevel {
    NONE(0, "无豁免"),
    PARTIAL(3, "部分豁免"),  // 权限组3及以上部分豁免
    FULL(6, "完全豁免");     // 权限组6及以上完全豁免

    private final int minPermissionGroup;
    private final String description;

    AssessmentExemptionLevel(int minPermissionGroup, String description) {
        this.minPermissionGroup = minPermissionGroup;
        this.description = description;
    }

    public int getMinPermissionGroup() {
        return minPermissionGroup;
    }

    public String getDescription() {
        return description;
    }
}